<?php

class Live
{
    protected $config;
    function __construct($config)
    {
        $this->config = $config;
    }

    function getPushStream($stramId,$endTime)
    {
    }

    function getLiveStream()
    {
        
    }

    /**
     * 生成鉴权key
     * @param string $stramId 流id
     * @param int $time 时间戳
     * @return string key
     */
    function disablePushStram()
    {

    }

    /**
     * 生成鉴权key
     * @param string $stramId 流id
     * @param int $time 时间戳
     * @return string key
     */
    function generateKey($stramId,$time)
    {

    }

}